package per.ace.orderdemo.entity;

import lombok.Data;

import javax.persistence.*;

/**
 * @program: order-demo
 * @description: order
 * @author: ace
 * @Date: 2020-06-03 15:48
 */
@Entity
@Data
@Table(name = "t_order")
public class Order {

    @Id
    @Column(name = "order_id")
    private Long orderId;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "order_content")
    private String orderContent;

    @Column(name ="create_time")
    private Long createTime;

}
